﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace ProjectCodeS.Models
{
    public class Store
    {
        public int Id { get; set; }
        [Required]
        public string Name { get; set; }

        public int CompanyId { get; set; }
        public virtual Company Company { get; set; }

        public int ChargeCategoryId { get; set; }
        public virtual ChargeCategory ChargeCategory { get; set; }

        public virtual ICollection<Client> Clients { get; set; }
    }
}